import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_items
from util import *

class Lantern(sim_items.LightSource):
    def __init__(self):
        
        sim_items.LightSource.__init__(self,
                'lantern',     #name
                50,     # layer
                parole.map.AsciiTile('*', colors['White']),
                4,  # weight
                7000,   # light energy
                (255,255,255),  # light color
                1.5,    # light intensity
                60*60000,  # burn time
                unidDescription="An oil-fueled flame enclosed in glass with a "\
                    "metal handle. Lanterns are prized for being brighter, "\
                    "longer lasting, and more reliable than a torch. With "\
                    "spare oil, these devices are reusable too.")

#========================================
thingClass = Lantern

